//
//  HACCustomViewController.m
//  HACRouter
//
//  Created by Chengjie on 2019/5/3.
//  Copyright © 2019 Happy. All rights reserved.
//

#import "HACCustomViewController.h"
#import <HACRouter/HACRouter.h>

@interface HACCustomViewController ()

@end

@implementation HACCustomViewController

HAC_INIT_ROUTER(自定义控制器, goods_custom, HACCustomViewController, (NSString *)title) {
    self = [super init];
    if (self) {
        self.view.backgroundColor = [UIColor yellowColor];
        self.title = [title stringByAppendingString:NSStringFromClass([self class])];
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
